import numpy as np

# backup path = r'C:\Users\yu03\Desktop\Experiment Record\!!! Isolation Room Test\Upstair well alighned\20190808 nonliearity test\Rigid setup\3-lens_back_light_max\Video test'

### Path defination
# video_path = '/Users/yl/Documents/Experiment Results'
video_path = r'E:\3-DoF Interferometer\NMC Room\6 Dof PI\Rigid\Cam\Nonlinearity\SmarAct new test\D_Scann_40um_50s_openmode\1__h0_v0'
video_name = '1'

### avi file
file_type = '.avi'
file_name = video_path + '\\' +  video_name + file_type
file_name = video_path + '/' +  video_name + file_type

### txt data for 16-line averaged results
txt_type = '.txt'
txt_name = video_path + '\\' +  video_name + txt_type


### binary data from Smaract
pico_name = video_path + '\\' + video_name + '.bindata'


if 0:
    compare_num = 8
    path_set = [None] * compare_num
    name_set = [None] * compare_num
    note_set = [None] * compare_num
    txt_file_set = [None] * compare_num
    
    path_set[0] = r'C:\Users\yu03\Desktop\Experiment Record\!!! Isolation Room Test\Upstair well alighned\20190808 nonliearity test\Rigid setup\3-lens_back_light_max\Video test\Ramp\Mea Mirror Aligned\Base 1290_1178'
    name_set[0] = '8Vpp_10mHz'
    note_set[0] = '1290*1178'
    
    path_set[1] = r'C:\Users\yu03\Desktop\Experiment Record\!!! Isolation Room Test\Upstair well alighned\20190808 nonliearity test\Rigid setup\3-lens_back_light_max\Video test\Ramp\Mea Mirror Aligned\Base 1290_1178'
    name_set[1] = '8Vpp_10mHz_2'
    note_set[1] = '1290*1178'
    
    path_set[2] = r'C:\Users\yu03\Desktop\Experiment Record\!!! Isolation Room Test\Upstair well alighned\20190808 nonliearity test\Rigid setup\3-lens_back_light_max\Video test\Ramp\Mea Mirror Aligned\Base 1290_1178'
    name_set[2] = '8Vpp_10mHz_3'
    note_set[2] = '1290*1178'
    
    path_set[3] = r'C:\Users\yu03\Desktop\Experiment Record\!!! Isolation Room Test\Upstair well alighned\20190808 nonliearity test\Rigid setup\3-lens_back_light_max\Video test\Ramp\Mea Mirror Aligned\Reference_ Mirror_turned_1(Hor) 3430_1250'
    name_set[3] = '1'
    note_set[3] = '3430*1250'
    
    path_set[4] = r'C:\Users\yu03\Desktop\Experiment Record\!!! Isolation Room Test\Upstair well alighned\20190808 nonliearity test\Rigid setup\3-lens_back_light_max\Video test\Ramp\Mea Mirror Aligned\Reference_ Mirror_turned_1(Hor) 3430_1250'
    name_set[4] = '2'
    note_set[4] = '3430*1250'
    
    path_set[5] = r'C:\Users\yu03\Desktop\Experiment Record\!!! Isolation Room Test\Upstair well alighned\20190808 nonliearity test\Rigid setup\3-lens_back_light_max\Video test\Ramp\Mea Mirror Aligned\Reference_ Mirror_turned_2(Ver) 3300_4910'
    name_set[5] = '1'
    note_set[5] = '3300*4910'
    
    path_set[6] = r'C:\Users\yu03\Desktop\Experiment Record\!!! Isolation Room Test\Upstair well alighned\20190808 nonliearity test\Rigid setup\3-lens_back_light_max\Video test\Ramp\Mea Mirror Aligned\Reference_ Mirror_turned_3(Ver) 3400_2720'
    name_set[6] = '1'
    note_set[6] = '3400*2720'
    
    path_set[7] = r'C:\Users\yu03\Desktop\Experiment Record\!!! Isolation Room Test\Upstair well alighned\20190808 nonliearity test\Rigid setup\3-lens_back_light_max\Video test\Ramp\Very mis-aligned 8Vpp_10mHz'
    name_set[7] = '3720_1400_1'
    note_set[7] = '3720*1400'
    
    for i in range(compare_num):
        txt_file_set[i] = path_set[i] + '/' +  name_set[i] + txt_type
    print(txt_file_set)
